<?php

$arr = parse_url('http://www.mephp.com:8088/php_function/?params=99');
print_r($arr);
die();

/**
 * 运行结果
Array
(
    [scheme] => http
    [host] => www.mephp.com
    [port] => 8088
    [path] => /php_function/
    [query] => params=99
)
 */